#!/bin/bash

obj_file="Demo"

cmake .

make

if [ -e $obj_file ]
then
    echo "File $obj_file exists. Start to transfer to server."
    scp $obj_file dev@192.168.88.130:/home/dev/code
fi
